import request from '@/utils/request'

// 查询对接信息列表
export function listTeamReception(query) {
  return request({
    url: '/eqxm/teamReception/list',
    method: 'get',
    params: query
  })
}

// 查询对接信息详细
export function getTeamReception(id) {
  return request({
    url: '/eqxm/teamReception/' + id,
    method: 'get'
  })
}

// 新增对接信息
export function addTeamReception(data) {
  return request({
    url: '/eqxm/teamReception',
    method: 'post',
    data: data
  })
}

// 修改对接信息
export function updateTeamReception(data) {
  return request({
    url: '/eqxm/teamReception',
    method: 'put',
    data: data
  })
}

// 删除对接信息
export function delTeamReception(id) {
  return request({
    url: '/eqxm/teamReception/' + id,
    method: 'delete'
  })
}

// 导出对接信息
export function exportTeamReception(query) {
  return request({
    url: '/eqxm/teamReception/export',
    method: 'get',
    params: query
  })
}